<?php
// .-----------------------------------------------------------------------------------
// | WE TRY THE BEST WAY
// |-----------------------------------------------------------------------------------
// | Author: 贝贝 <hebiduhebi@163.com>
// | Copyright (c) 2013-2015, http://www.gooraye.net. All Rights Reserved.
// |-----------------------------------------------------------------------------------

namespace app\admin\api;

use app\common\api\BaseApi;
use app\admin\model\ViewPageItem;

class ViewPageItemApi extends BaseApi{
    /**
     * 添加
     */
    const ADD = "admin/ViewPageItemApi/add";
    /**
     * 保存
     */
    const SAVE = "admin/ViewPageItemApi/save";
    /**
     * 保存根据ID主键
     */
    const SAVE_BY_ID = "admin/ViewPageItemApi/saveByID";

    /**
     * 删除
     */
    const DELETE = "admin/ViewPageItemApi/delete";

    /**
     * 查询
     */
    const QUERY = "admin/ViewPageItemApi/query";
    /**
     * 查询一条数据
     */
    const GET_INFO = "admin/ViewPageItemApi/getInfo";

	protected function _init(){
		$this->model = new ViewPageItem();
	}
}